import request from '@/utils/request'

export function getMasterList(params) {
  return request({
    url: '/api/SysCommMaster/list',
    method: 'get',
    params
  })
}
export function updateMaster(data) {
  return request({
    url: '/api/SysCommMaster/update',
    method: 'post',
    data: data
  })
}
export function insertMaster(data) {
  return request({
    url: '/api/SysCommMaster/insert',
    method: 'post',
    data: data
  })
}
export function delMaster(data) {
  return request({
    url: '/api/SysCommMaster/delete',
    method: 'post',
    data: data
  })
}